home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 9 / Night Owl CD-ROM (NOPV9) (Night Owl Publisher) (1993).ISO / 006a / tblt10g.zip / SAMPLE.BAT < prev    next >
DOS Batch File  |  1993-03-22  |  2KB  |  56 lines

  1. @ECHO OFF
  2.  
  3. REM Sample Batch File for TOPBLT. Supply the path/name of the config file
  4. REM and a directory for the bulletins to be placed in (with trailing
  5. REM backslash!) and this batch file will create some samples of the types
  6. REM of bulletins that can be produced with TOPBLT.
  7.  
  8. if "%1"=="" goto usage
  9. if "%2"=="" goto usage
  10.  
  11. echo  
  12. echo ///////////////////////////////////////////////////////////////////////////
  13. echo Sample.Bat
  14. echo ///////////////////////////////////////////////////////////////////////////
  15. echo Generating TOP USERS bulletins..
  16. echo ///////////////////////////////////////////////////////////////////////////
  17.  
  18. tblt10g.exe %1 0a 1a 10 %2blt10
  19. tblt10g.exe %1 2a 3a 10 %2blt11
  20. tblt10g.exe %1 4a 5a 10 %2blt12
  21. tblt10g.exe %1 6a 7a 10 %2blt13
  22. tblt10g.exe %1 8a 9a 10 %2blt14
  23. tblt10g.exe %1 10a 11a 10 %2blt15
  24. tblt10g.exe %1 12a 13a 10 %2blt16
  25.  
  26. echo  
  27. echo ///////////////////////////////////////////////////////////////////////////
  28. echo Generating WORST USERS bulletins..
  29. echo ///////////////////////////////////////////////////////////////////////////
  30.  
  31. tblt10g.exe %1 0d 1d 10 %2blt20
  32. tblt10g.exe %1 2d 3d 10 %2blt21
  33. tblt10g.exe %1 4d 5d 10 %2blt22
  34. tblt10g.exe %1 6d 7d 10 %2blt23
  35. tblt10g.exe %1 8a 9d 10 %2blt24
  36. tblt10g.exe %1 10d 11d 10 %2blt25
  37. tblt10g.exe %1 12d 13d 10 %2blt26
  38.  
  39. goto end
  40.  
  41. :usage
  42.  
  43. echo  
  44. echo ///////////////////////////////////////////////////////////////////////////
  45. echo Sample.Bat - Creates sample bulletins illustrating different styles/colours
  46. echo ///////////////////////////////////////////////////////////////////////////
  47. echo USAGE:
  48. echo ///////////////////////////////////////////////////////////////////////////
  49. echo SAMPLE [name of TOPBLT config file] [path/name for sample bulletins]
  50. echo  
  51. echo eg: SAMPLE d:\topblt\topblt.cfg d:\blts\ - remember the trailing backslash!
  52. echo ///////////////////////////////////////////////////////////////////////////
  53.  
  54. :end
  55.  
  56.